Skip to content

fix for ipc regressions - #373

Open
Shazbot wants to merge 2 commits into
donkeyProgramming:masterfrom
Shazbot:master
Open

fix for ipc regressions#373
Shazbot wants to merge 2 commits into
donkeyProgramming:masterfrom
Shazbot:master

Conversation

@Shazbot

@Shazbot Shazbot commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

The caching changes broke the way we opened packs after IPC requests:

Failed loading external pack file K:\SteamLibrary\steamapps\common\Total War WARHAMMER III\data\variants.pack System.InvalidOperationException: The calling thread must be STA, because many UI components require this.

Currently we need to load packs using a WPF dispatcher.

WpfUiDispatcher is a small wrapper around Application.Current.Dispatcher that makes the code easier to test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant